package com.imooc.diveinspringboot.mybatis.service;

import com.imooc.diveinspringboot.mybatis.mapper.ChannelMapper;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * @author Chris
 * @date 2019/05/08 15:07
 * @since 1.0.0
 */
@Service
public class ChannelService {
    @Resource
    private ChannelMapper channelMapper;

    public void start() {
        channelMapper.getAll().forEach(System.out::println);
    }
}
